package cn.itcast.itcaststore.dao;

import cn.itcast.itcaststore.domain.Orders;
import cn.itcast.itcaststore.domain.Products;

import java.util.List;

public interface OrderDao {
    void create(Orders orders);

    Orders getOrders(String type, Long by);

    List getOrderitem(long id);

    Products getProducts(String product_id);

    void upatePay(String order_id);

    List getList(String username);

    void delById(String id);
}
